package com.sprint.gulimall.product;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 1 整合mybatis : 添加坐标
 * 2 配置数据源访问
 * 3 配置mapperScan
 * 4 配置mybatis mapper locations
 */
@SpringBootApplication
@MapperScan("com.sprint.gulimall.product.dao")
@EnableDiscoveryClient
public class GulimallProductApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallProductApplication.class, args);
    }

}
